package com.eonmind.knowledge;

import com.mongoplus.annotation.MongoMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableFeignClients(basePackages = {"com.eonmind"})
@EnableDiscoveryClient()
@SpringBootApplication(scanBasePackages = {"com.eonmind.knowledge", "com.eonmind.common"})
@MongoMapperScan("com.eonmind.knowledge.mapper")
@EnableAsync
public class KnowledgeApplication {
    public static void main(String[] args) {
        SpringApplication.run(KnowledgeApplication.class, args);
    }
}
